home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
mx
/
events
/
CollectionEvent.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
1KB
|
44 lines
package mx.events
{
import flash.events.Event;
import mx.core.mx_internal;
use namespace mx_internal;
public class CollectionEvent extends Event
{
mx_internal static const VERSION:String = "3.0.0.0";
public static const COLLECTION_CHANGE:String = "collectionChange";
public var kind:String;
public var location:int;
public var items:Array;
public var oldLocation:int;
public function CollectionEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:String = null, param5:int = -1, param6:int = -1, param7:Array = null)
{
super(param1,param2,param3);
this.kind = param4;
this.location = param5;
this.oldLocation = param6;
this.items = !!param7 ? param7 : [];
}
override public function toString() : String
{
return formatToString("CollectionEvent","kind","location","oldLocation","type","bubbles","cancelable","eventPhase");
}
override public function clone() : Event
{
return new CollectionEvent(type,bubbles,cancelable,kind,location,oldLocation,items);
}
}
}